<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class User extends Model
{
    public $table = 'user';

    public $primaryKey = 'id_user';

    public $timestamps = false;

    public function merchant()
    {
        return $this->hasOne(Merchant::class,'id_merchant','id_merchant');
    }
}
